home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / dfue / avmnfax / source / silentanswer.avmsrc < prev    next >
Text File  |  1995-03-09  |  3KB  |  190 lines

  1. startrecord=true
  2. label=
  3. nodetype=7
  4. filename=avm:rexx/stdhead.avm
  5. nextactiontype=3
  6. nextactionaction=
  7. endrecord=true
  8. startrecord=true
  9. label=
  10. nodetype=8
  11. line1=parse arg servername faxscript datascript distinctivering 'CID$' acidname '$' acidnumber '$'
  12. line2=
  13. line3=call setclip(address() || 'CIDNAME', acidname)
  14. line4=call setclip(address() || 'CIDNUMBER', acidnumber)
  15. line5=
  16. line6=
  17. line7=
  18. line8=
  19. line9=
  20. line10=
  21. nextactiontype=3
  22. nextactionaction=
  23. endrecord=true
  24. startrecord=true
  25. label=
  26. nodetype=14
  27. comment=Initialize log entry
  28. nextactiontype=3
  29. nextactionaction=
  30. endrecord=true
  31. startrecord=true
  32. label=
  33. nodetype=8
  34. line1=handle = makeUniqueFile()
  35. line2=call initLogEntry()
  36. line3=log.type = 'Silent'
  37. line4=mailbox = 'silent'
  38. line5=
  39. line6=
  40. line7=
  41. line8=
  42. line9=
  43. line10=
  44. nextactiontype=3
  45. nextactionaction=
  46. endrecord=true
  47. startrecord=true
  48. label=
  49. nodetype=14
  50. comment=Put beep in here if you want
  51. nextactiontype=3
  52. nextactionaction=
  53. endrecord=true
  54. startrecord=true
  55. label=readkeyagain
  56. nodetype=4
  57. timeout=90
  58. numkeys=1
  59. untilkey=0
  60. keyactiontype=0
  61. keyactionaction=possiblechoice
  62. faxactiontype=0
  63. faxactionaction=stdfax
  64. dataactiontype=0
  65. dataactionaction=stddata
  66. busyactiontype=3
  67. busyactionaction=
  68. timedoutactiontype=3
  69. timedoutactionaction=
  70. abortactiontype=0
  71. abortactionaction=stdabort
  72. erroractiontype=0
  73. erroractionaction=stderror
  74. nextactiontype=3
  75. nextactionaction=
  76. endrecord=true
  77. startrecord=true
  78. label=
  79. nodetype=14
  80. comment=Put another beep in here if you want
  81. nextactiontype=3
  82. nextactionaction=
  83. endrecord=true
  84. startrecord=true
  85. label=finished
  86. nodetype=14
  87. comment=Save log entry
  88. nextactiontype=3
  89. nextactionaction=
  90. endrecord=true
  91. startrecord=true
  92. label=
  93. nodetype=8
  94. line1=
  95. line2=log.comment = 'Nothing done with Silent Answer'
  96. line3=
  97. line4=call saveLogEntry(mailbox, handle)
  98. line5=
  99. line6=
  100. line7=
  101. line8=
  102. line9=
  103. line10=
  104. nextactiontype=2
  105. nextactionaction=exit
  106. endrecord=true
  107. startrecord=true
  108. label=possiblechoice
  109. nodetype=8
  110. line1=select
  111. line2=  when value = '2' then signal stdfax
  112. line3=  when value = '1' then signal dorecord
  113. line4=  when value = '5' then signal stddata
  114. line5=  when value = '*' then signal stdabort
  115. line6=
  116. line7=  otherwise nop
  117. line8=end
  118. line9=
  119. line10=
  120. nextactiontype=0
  121. nextactionaction=finished
  122. endrecord=true
  123. startrecord=true
  124. label=dorecord
  125. nodetype=8
  126. line1=call time('r')
  127. line2=
  128. line3=
  129. line4=
  130. line5=
  131. line6=
  132. line7=
  133. line8=
  134. line9=
  135. line10=
  136. nextactiontype=3
  137. nextactionaction=
  138. endrecord=true
  139. startrecord=true
  140. label=
  141. nodetype=0
  142. filename=handle
  143. recordinglength=120
  144. silenceinterval=-1
  145. silencethreshold=-1
  146. keyactiontype=3
  147. keyactionaction=
  148. quietactiontype=3
  149. quietactionaction=
  150. silenceactiontype=3
  151. silenceactionaction=
  152. faxactiontype=0
  153. faxactionaction=stdfax
  154. dataactiontype=0
  155. dataactionaction=stddata
  156. busyactiontype=3
  157. busyactionaction=
  158. timedoutactiontype=3
  159. timedoutactionaction=
  160. abortactiontype=0
  161. abortactionaction=stdabort
  162. erroractiontype=0
  163. erroractionaction=stderror
  164. nextactiontype=3
  165. nextactionaction=
  166. endrecord=true
  167. startrecord=true
  168. label=
  169. nodetype=8
  170. line1=log.type = 'Voice'
  171. line2=log.length = trunc(time('e'))
  172. line3=log.filename = handle
  173. line4=
  174. line5=
  175. line6=
  176. line7=
  177. line8=
  178. line9=
  179. line10=
  180. nextactiontype=0
  181. nextactionaction=finished
  182. endrecord=true
  183. startrecord=true
  184. label=
  185. nodetype=7
  186. filename=avm:rexx/simplestdtail.avm
  187. nextactiontype=3
  188. nextactionaction=
  189. endrecord=true
  190.